package visualizer.client.widgets.tree;

/**
 * User: DDovzhenko
 * Date: 25.01.14
 * Time: 12:58
 */
public class TreePoint {
    private String value;
    private boolean isVisible;
    private TreePoint leftChild;
    private TreePoint rightChild;
    private String innerColor;
    private String outerColor;
    private double x;
    private double y;
    private int leftWidth;
    private int rightWidth;
    private double radius;

    public TreePoint() {
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public TreePoint getLeftChild() {
        return leftChild;
    }

    public void setLeftChild(TreePoint leftChild) {
        this.leftChild = leftChild;
    }

    public TreePoint getRightChild() {
        return rightChild;
    }

    public void setRightChild(TreePoint rightChild) {
        this.rightChild = rightChild;
    }

    public String getOuterColor() {
        return outerColor;
    }

    public void setOuterColor(String outerColor) {
        this.outerColor = outerColor;
    }

    public String getInnerColor() {
        return innerColor;
    }

    public void setInnerColor(String innerColor) {
        this.innerColor = innerColor;
    }

    public double getX() {
        return x;
    }

    public void setX(double x) {
        this.x = x;
    }

    public double getY() {
        return y;
    }

    public void setY(double y) {
        this.y = y;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public int getLeftWidth() {
        return leftWidth;
    }

    public void setLeftWidth(int leftWidth) {
        this.leftWidth = leftWidth;
    }

    public int getRightWidth() {
        return rightWidth;
    }

    public void setRightWidth(int rightWidth) {
        this.rightWidth = rightWidth;
    }

    public boolean isVisible() {
        return isVisible;
    }

    public void setVisible(boolean visible) {
        isVisible = visible;
    }
}
